﻿
@{ 
                ViewBag.Title = "会员消费明细表";
                Layout = "~/Views/Shared/_LayoutDateUserCorS.cshtml";
}

@section SubMenu1{ 
            会员:
            @Html.DropDownList("VipId", ViewData["Vip"] as SelectList, htmlAttributes: new { @class = "form-control" })
        
}

<script type="text/javascript">
    $(document).ready(function () {
        $("#SearchFlag").attr("disabled", "disabled");
        $("#UserId").attr("disabled", "disabled");

        $(":button").click(function () {
            $.get("/Vip/ReportMxPGet", {
                startDate: $("#StartDate").val(),
                endDate: $("#EndDate").val(),
                vipId: $("#VipId").val(),
                corsId: $("#CorSId").val()
            },
                function (data, status) {
                    if (status == "success") {
                        $("#tableDetail").html(data);
                    }
                    else {
                        alert("远程服务器连接失败");
                    }
                });
        });
    });
</script> 